import request from './http';
import uploadimg from './upload';
/**
 * 上传图片
 * @param {*} params 
 */
export const upload = (succCallback,errorCallback) => {
	return uploadimg(succCallback,errorCallback)
};
/**
* sass的登录
 * @param {*} params 
 * @param {*} succCallback 
 * @param {*} errorCallback 
 */
export const sassAppLogin = (params,succCallback,errorCallback) => {
	return request('app/login',params,'GET',succCallback,errorCallback)
};
// 小程序授权登录
export const  WechatXcxLogin = (params,succCallback,errorCallback)=>{
	return request('wechat/api/v1/Login/WechatXcxLogin',params,'POST',succCallback,errorCallback)
}